#ifndef _IP_H_
#define _IP_H_

#include "headers.h"

extern u_char   prefix[16];
extern u_short  prefix_length;
extern u_short  mod;
extern u_short  res;

inline int is_ivi_addr( const u_char *ip6_addr );
void ip4to6( const ip_header *ih, ip6_header *ip6h );
void ip6to4( const ip6_header *ip6h, ip_header *ih );

#endif // _IP_H_